/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ap.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.ap.entity.Advance;
import com.jeeplus.modules.ap.mapper.AdvanceMapper;

/**
 * 预付款Service
 * @author 李超辉
 * @version 2018-04-24
 */
@Service
@Transactional(readOnly = true)
public class AdvanceService extends CrudService<AdvanceMapper, Advance> {

	public Advance get(String id) {
		return super.get(id);
	}
	
	public List<Advance> findList(Advance advance) {
		return super.findList(advance);
	}
	
	public Page<Advance> findPage(Page<Advance> page, Advance advance) {
		return super.findPage(page, advance);
	}
	
	@Transactional(readOnly = false)
	public void save(Advance advance) {
		super.save(advance);
	}
	
	@Transactional(readOnly = false)
	public void delete(Advance advance) {
		super.delete(advance);
	}
	
}